<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-type" class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-type" data-rule="required" class="form-control" name="row[type]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_scale" class="control-label col-xs-12 col-sm-2">{:__('User_scale')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_scale" data-rule="required" class="form-control" name="row[user_scale]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-begintime" class="control-label col-xs-12 col-sm-2">{:__('Begintime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-begintime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[begintime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-endtime" class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-state" class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-state" data-rule="required" class="form-control" name="row[state]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-total_fee" class="control-label col-xs-12 col-sm-2">{:__('Total_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_fee" data-rule="required" class="form-control" step="0.01" name="row[total_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-cost" class="control-label col-xs-12 col-sm-2">{:__('Cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cost" data-rule="required" class="form-control" step="0.01" name="row[cost]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-group_num" class="control-label col-xs-12 col-sm-2">{:__('Group_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_num" data-rule="required" class="form-control" name="row[group_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-limit_num" class="control-label col-xs-12 col-sm-2">{:__('Limit_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-limit_num" data-rule="required" class="form-control" name="row[limit_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-memebr_price" class="control-label col-xs-12 col-sm-2">{:__('Memebr_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-memebr_price" data-rule="required" class="form-control" step="0.01" name="row[memebr_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-price" class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-other" class="control-label col-xs-12 col-sm-2">{:__('Other')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-other" data-rule="required" class="form-control" name="row[other]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-other_fee" class="control-label col-xs-12 col-sm-2">{:__('Other_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-other_fee" data-rule="required" class="form-control" step="0.01" name="row[other_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-other_desc" class="control-label col-xs-12 col-sm-2">{:__('Other_desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-other_desc" class="form-control" name="row[other_desc]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-desc" class="control-label col-xs-12 col-sm-2">{:__('Desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-desc" class="form-control " rows="5" name="row[desc]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-mode" class="control-label col-xs-12 col-sm-2">{:__('Mode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mode" data-rule="required" class="form-control" name="row[mode]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-deposit" class="control-label col-xs-12 col-sm-2">{:__('Deposit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deposit" data-rule="required" class="form-control" step="0.01" name="row[deposit]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-qrcode" class="control-label col-xs-12 col-sm-2">{:__('Qrcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qrcode" class="form-control" name="row[qrcode]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-commission" class="control-label col-xs-12 col-sm-2">{:__('Commission')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-commission" data-rule="required" class="form-control" step="0.01" name="row[commission]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_promote" class="control-label col-xs-12 col-sm-2">{:__('Is_promote')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_promote" data-rule="required" class="form-control" name="row[is_promote]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-is_communite" class="control-label col-xs-12 col-sm-2">{:__('Is_communite')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_communite" data-rule="required" class="form-control" name="row[is_communite]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-sponsor" class="control-label col-xs-12 col-sm-2">{:__('Sponsor')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sponsor" data-rule="required" class="form-control" name="row[sponsor]" type="number" value="0">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
